package com.times.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Slf4j
public class LoginController {


    @RequestMapping("/login")
    public String login(String username, String pwd) {
        log.info("username:{},pwd:{}", username, pwd);
        return "index";
    }

}
